﻿using Common.CustAttributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZXIMEW.Models.DModels
{
        [Table("UserInfos")]
        [PrimaryKey("UserId",autoIncrement =true)]
        public class UserInfo
        {
                public int Id { get; set; }
                /// <summary>
                /// 用户编号 
                /// </summary>
                public int UserId { get; set; }
                /// <summary>
                /// 用户名 
                /// </summary>
                public string UserName { get; set; }
                /// <summary>
                /// 用户密码（加密） 
                /// </summary>
                public string UserPwd { get; set; }
                /// <summary>
                /// 用户明码 
                /// </summary>
                public string UserRealPwd { get; set; }
                /// <summary>
                /// 用户状态  0 冻结   1 正常
                /// </summary>
                public bool UserState { get; set; }
                /// <summary>
                /// 手机号码
                /// </summary>
                public string UserPhone { get; set; }
                /// <summary>
                /// 最后登录Ip 
                /// </summary>
                public string LastLoginIp { get; set; }
                /// <summary>
                /// 最后登录时间 
                /// </summary>
                public DateTime? LastLoginTime { get; set; }
                /// <summary>
                /// 登录系统次数
                /// </summary>
                public int LoginCount { get; set; }
                /// <summary>
                /// 创建时间 
                /// </summary>
                public DateTime CreateTime { get; set; }
                public string EStateName { get; set; }
        }
}
